package com.innovation.chengzhangriji.ui.widget;

import android.content.Context;
import android.view.View;

public class TimelineMilestoneViewHolder extends TimelineViewHolder {

    private TimelineMilestoneView mMilestone;

    public TimelineMilestoneViewHolder(Context context, View itemView) {
        super(context, itemView);
        mMilestone = new TimelineMilestoneView(context);
        getContent().addView(mMilestone);
    }

    public void setMilestone(String text) {
        mMilestone.setMilestone(text);
    }
}
